/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entity;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;

/**
 *
 * @author Dao Thai Duy
 */
@Entity
public class ReservedMealEntity extends ReservedFnBProductEntity implements Serializable {
    private static long serialVersionUID = 1L;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public static void setSerialVersionUID(long aSerialVersionUID) {
        serialVersionUID = aSerialVersionUID;
    }
    @ManyToOne
    private MealEntity meal;
    @ManyToOne
    private FnBReservationEntity fandBReservation;

    public MealEntity getMeal() {
        return meal;
    }

    public void setMeal(MealEntity meal) {
        this.meal = meal;
    }

    public FnBReservationEntity getFandBReservation() {
        return fandBReservation;
    }

    public void setFandBReservation(FnBReservationEntity fandBReservation) {
        this.fandBReservation = fandBReservation;
    }
    
}
